﻿<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="renderer" content="webkit" />
    <title>欢迎登录商城管理平台</title>
    <link href="css/login/login.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery.min.js"></script>
    <script src="css/login/cloud.js" type="text/javascript"></script>
    <script type="text/javascript">

        $(function () {
            window.localStorage.removeItem("EUser");
            $('.loginbox').css({ 'position': 'absolute', 'left': ($(window).width() - 692) / 2 });
            $(window).resize(function () {
                $('.loginbox').css({ 'position': 'absolute', 'left': ($(window).width() - 692) / 2 });
            })
            if (top != self) {
                if (top.location != self.location)
                    top.location = self.location;
            }

            $(".loginbtn").click(function () {
                var d = {
                    "UserName": $("#username").val(),
                    "PAD": $("#userpasd").val()
                };
                $.post("/View/SpeList/DLLAjaxHandler.ashx?action=Login", d, function (r) {
                    if (r != "") {
                        alert("用户名或密码错误");
                    } else {
                        window.localStorage.setItem("EUser", $("#username").val());
                        window.location = "index.html";
                    }

                })

            })
        });
    </script>

</head>
<body style="background-color: #1c77ac; background-image: url(images/light.png); background-repeat: no-repeat; background-position: center top; overflow: hidden;">
        <div id="mainBody">
            <div id="cloud1" class="cloud"></div>
            <div id="cloud2" class="cloud"></div>
        </div>


        <div class="logintop">
            <span>欢迎使用E+惠商城</span>
            <ul>
            
            </ul>
        </div>

        <div class="loginbody">

            <span class="systemlogo" style="visibility: collapse"></span>

            <div class="loginbox">

                <ul>
                    <li>
                        <input id="username" type="text" class="loginuser" runat="server" autocomplete='off' />
                    </li>
                    <li>
                        <input id="userpasd" type="password" class="loginpwd" runat="server" autocomplete='off' />
                    </li>

                    <li>
                        <button class="loginbtn">登录</button>
                    </li>
                </ul>


            </div>

        </div>
        <div class="loginbm">版权所有<span id="bowversion"></span></div>
</body>
</html>
